package top.soulblack.purchasesale.model.DTO;

import lombok.Data;
import top.soulblack.purchasesale.model.OrderDetail;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author: 韦溜溜
 * @Description:
 * @Date: Create in 20:04 2019/7/11
 */
@Data
public class OrderDTO {

    private String orderId;

    private String goodsBarCode;

    private String goodsName;

    private Integer inStoreId;

    private String openid;

    private Integer outStoreId;

    private String inStoreName;

    private String outStoreName;

    private String remarks;

    private Integer inShopId;

    private Integer outShopId;

    private BigDecimal orderAmount;

    /**
     * 订单状态, 默认0为草稿（等待确认），1为正在调拨，2为调拨成功，3为调拨取消（失败）
     */
    private Integer orderStatus;

    /**
     * 订单类型，默认0为调拨单 1为补货单 2为采购
     */
    private Integer orderType;

    private List<OrderDetail> orderDetailList = new ArrayList<>();

    private String goodsNumber;

    private Date createTime;

    private Date updateTime;
}
